<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"></c:set>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>55社区</title>
    <meta name="description" content="">
    <meta name="keywords" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <link rel="icon" type="image/png" href="/theme/default/images/favicon.png">
    <jsp:include page="common.jsp"></jsp:include>
    <script type="text/javascript">
        $(function () {
            $("#beginTime").date();
            $("#endTime").date({theme: "datetime"});
        });
    </script>
</head>
<body>
<header data-am-widget="header" class="am-header am-header-default sq-head ">
    <div class="am-header-left am-header-nav">
        <a href="javascript:history.back()" class="">
            <i class="am-icon-chevron-left"></i>
        </a>
    </div>
    <h1 class="am-header-title">
        <a href="" class="">确认订单</a>
    </h1>
</header>

<div style="height: 49px;"></div>
<div class="add-address">
    <a href="${ctx}/address.jsp">+新建收货地址</a>
    <i class="am-icon-angle-right"></i>
</div>
<h5 class="order-tit">收货人信息</h5>
<div class="order-name">
    <a href="${ctx}/delivery/gladd.do">

        <p class="order-tele">${delivery.delivery_name}&nbsp;&nbsp;&nbsp;${delivery.delivery_phone}</p>
        <p class="order-add">${delivery.delivery_address}</p>

    </a>
    <i class="am-icon-angle-right"></i>
</div>
<div style="background: #eee; height: 10px;"></div>
<h5 class="order-tit">确认订单信息</h5>
<ul class="shopcart-list" style="padding-bottom: 0; margin-top: 0;">
    <c:forEach var="a" items="${mapList}">
        <li>
            <img src="${ctx}/static/${a.goods_img}" class="shop-pic"/>
            <div class="order-mid">
                <div class="tit">${a.goods_name}</div>
                <div class="order-price">￥${a.goods_price} <i>X${a.trolley_num}</i></div>
            </div>
        </li>
    </c:forEach>
</ul>
<ul class="order-infor">
    <li class="order-infor-first">
        <span>商品总计：</span>
        <i>￥${salary}</i>
    </li>
    <li class="order-infor-first">
        <span>运费：</span>
        <i>包邮</i>
    </li>
    <li class="order-infor-first">
        <a href="integral.html">积分抵费></a>
    </li>
    <li class="order-infor-first">
        <a href="yhq.html">选择优惠券></a>
    </li>
</ul>
<div style="background: #eee; height: 10px;"></div>

<input id="beginTime" class="select-time" placeholder="请选择配送时间 >"/></div>
<div id="datePlugin"></div>
<div style="background: #eee; height: 10px;"></div>
<textarea placeholder="备注说明" class="bz-infor"></textarea>
<div style="background: #eee; height: 10px;"></div>
<div style="height: 55px;"></div>
<div class="shop-fix">
    <div class="order-text">
        应付总额：<span>￥${salary}</span>
    </div>
    <a href="${ctx}/delivery/pay.do?salary=${salary}" class="js-btn">提交订单</a>
</div>
<!--底部-->
<jsp:include page="footer.jsp"></jsp:include>

</body>
</html>

